package org.project.task.mapper;

import org.apache.ibatis.annotations.Select;
import org.project.task.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author Zheng
* @description 针对表【user(用户信息表)】的数据库操作Mapper
* @createDate 2024-12-23 11:35:32
* @Entity org.project.task.entity.User
*/
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where username = #{param1} and password = #{param2}")
    User login(String username, String encryptedPassword);
}




